import { lazy } from "react";

const BasicRouter = [
  
  //子账号管理
  {
    path: "/basic/account",
    name: "子账号管理",
    Component: lazy(() => import("@/pages/BasicModule/accountManage/index"))
  },
  {
    path: "/basic/role",
    name: "角色管理",
    Component: lazy(() => import("@/pages/BasicModule/roleManage/index"))
  },

  
  //业务设置
  {
    path: "/views/basic/qimenStore",
    name: "店铺管理",
    Component: lazy(() => import("@/pages/BasicModule/storeManage/index"))
  },
	{
    path: "/views/order/storage",
    name: "仓库管理",
    Component: lazy(() => import("@/pages/BasicModule/StorageManage/index"))
  },
  {
    path: "/basic/store",
    name: "供应商管理",
    Component: lazy(() => import("@/pages/BasicModule/supplierManage/index"))
  },
  {
    path: "/basic/label/setting",
    name: "标签模板设置",
    Component: lazy(() => import("@/pages/BasicModule/labelSetting/index"))
  },

  //任务中心
  {
    path: "/basic/taskCenter",
    name: "任务中心",
    Component: lazy(() => import("@/pages/BasicModule/taskCenter/index"))
  },
	{
    path: "/views/taskCenter/printRecords",
    name: "打印记录",
    Component: lazy(() => import("@/pages/BasicModule/printRecords/index"))
  },

  //快递
  {
    path: "/print/expressAuth",
    name: "快递授权",
    Component: lazy(() => import("@/pages/BasicModule/expressAuth/index"))
  },
  {
    path: "/print/config",
    name: "快递配置",
    Component: lazy(() => import("@/pages/BasicModule/ExpressConfig/index"))
  },

  //其他
  {
    path: "/account/sendAddress",
    name: "寄件地址",
    Component: lazy(() => import("@/pages/BasicModule/sendAddress/index"))
  },
]

export default BasicRouter;